package com.quanyan.club.mapper;

import com.quanyan.club.entity.db.TbDistrict;
import com.quanyan.club.entity.db.TbDistrictExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbDistrictMapper {
    int countByExample(TbDistrictExample example);

    int deleteByExample(TbDistrictExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbDistrict record);

    int insertSelective(TbDistrict record);

    List<TbDistrict> selectByExample(TbDistrictExample example);

    TbDistrict selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbDistrict record, @Param("example") TbDistrictExample example);

    int updateByExample(@Param("record") TbDistrict record, @Param("example") TbDistrictExample example);

    int updateByPrimaryKeySelective(TbDistrict record);

    int updateByPrimaryKey(TbDistrict record);
}